#!/usr/bin/node

const log = console.log;

const cp = require('child_process');

console.log('I am father process. PID:', process.pid);

cp.fork('./03-child.js');

setTimeout(() => {
  log('5 seconds passed. father process Game Over!');
}, 5000);
